const path = require('path')

module.exports = {
    // 入口
    entry: path.resolve(__dirname,'src/login/index.js'),
    // 出口
    output: {
        path:path.resolve(__dirname,'dist'),
        filename:'./login/index.js',
        clean:true // 打包时清空输出目录
    }
}